import {
  JIN_CHU_DEFAULT,
  TimeDetail,
  TextDetail,
  StatusDetail,
  ENERGY,
  PV_SP,
  DEFAULT_MSG_STATUS,
  CONTRO_MODE,
  YesNoDetails,
  SpeedDetails,
  EventDetails
} from "../../constant";
// 真空炉 基础信息
export const MAP_DEATIL_VACUUM_FURNACE_Z15 = {
  // 上部分
  ...DEFAULT_MSG_STATUS,
  ...CONTRO_MODE,
  status01: StatusDetail(
    "downArea",
    "机械泵",
    "status01",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status02: SpeedDetails(
    "downArea",
    "罗茨泵",
    "status02",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status03: StatusDetail(
    "downArea",
    "维持泵",
    "status03",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status04: StatusDetail(
    "downArea",
    "主阀",
    "status04",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status05: StatusDetail(
    "downArea",
    "粗抽阀",
    "status05",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status06: StatusDetail(
    "downArea",
    "前级阀",
    "status06",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status07: StatusDetail(
    "downArea",
    "维持阀",
    "status07",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status08: StatusDetail(
    "downArea",
    "排气阀",
    "status08",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status09: StatusDetail(
    "downArea",
    "氩气分压阀",
    "status09",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status10: StatusDetail(
    "downArea",
    "氢气分压阀",
    "status10",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status11: StatusDetail(
    "downArea",
    "氩气充气阀",
    "status11",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status12: StatusDetail(
    "downArea",
    "炉门锁圈状态",
    "status12",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status13: StatusDetail(
    "downArea",
    "热区功能",
    "status13",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status14: StatusDetail(
    "downArea",
    "热区状态",
    "status14",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  status15: StatusDetail(
    "downArea",
    "冷却风机状态",
    "status15",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  workKeepTempEvent: YesNoDetails(
    "downArea",
    "工件偶保温功能",
    "workKeepTempEvent",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  workKeepDegreeEvent: YesNoDetails(
    "downArea",
    "工件偶保温带宽",
    "workKeepDegreeEvent",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  pumpDownTime: TextDetail(
    "downArea",
    "抽气时间",
    "pumpDownTime",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "min"
  ),
  meter1ControlTemp: TextDetail(
    "downArea",
    "设定温度",
    "meter1ControlTemp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  topTemp: TextDetail(
    "downArea",
    "顶部温度",
    "topTemp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  meter1RealTemp: TextDetail(
    "downArea",
    "中部温度",
    "meter1RealTemp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  bottomTemp: TextDetail(
    "downArea",
    "底部温度",
    "bottomTemp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  meter1RunStageRemainTime: TextDetail(
    "downArea",
    "保温剩余时长",
    "meter1RunStageRemainTime",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "min"
  ),
  crafeName: TextDetail(
    "downArea",
    "工艺名称",
    "crafeName",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  meter1RunStageNO: TextDetail(
    "downArea",
    "当前步骤",
    "meter1RunStageNO",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  ramp: TextDetail(
    "downArea",
    "当前温变斜率",
    "ramp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃/mi"
  ),
  setTemp: TextDetail(
    "downArea",
    "温度设定点",
    "setTemp",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  keepTempDegree: TextDetail(
    "downArea",
    "保温带宽",
    "keepTempDegree",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "℃"
  ),
  keepTempTime: TextDetail(
    "downArea",
    "保温时长",
    "keepTempTime",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  workOtherEvent: EventDetails(
    "downArea",
    "分压选择",
    "workOtherEvent",
    require("@/assets/images/shebeiIcon/msg_1.png")
  ),
  partialPress: TextDetail(
    "downArea",
    "分压压力",
    "partialPress",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "Pa"
  ),
  chamberPress: TextDetail(
    "downArea",
    "炉室压力",
    "chamberPress",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "Pa"
  ),
  chambrLowVacuum: TextDetail(
    "downArea",
    "炉室低真空",
    "chambrLowVacuum",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "Pa"
  ),
  chambrHighVacuum: TextDetail(
    "downArea",
    "炉室高真空",
    "chambrHighVacuum",
    require("@/assets/images/shebeiIcon/msg_1.png"),
    "Pa"
  ),

  ...JIN_CHU_DEFAULT
};

// 表格-表单
export const VACUUM_FORMULA_INFO_Z15 = [
  {
    label: "阶段",
    key: "stageId",
    value: "",
    type: "",
    stageId: ""
  },
  {
    label: "设定温度℃",
    key: "oneExpandInfo",
    value: "",
    type: "input",
    oneExpandInfo: ""
  },
  {
    label: "设定时间",
    key: "twoExpandInfo",
    value: "",
    type: "input",
    twoExpandInfo: ""
  },
  {
    label: "保证",
    key: "threeExpandInfo",
    value: "",
    type: "radio",
    threeExpandInfo: "",
    defaultValue: "0",
    options: [
      {
        label: "是",
        value: "1"
      },
      {
        label: "否",
        value: "0"
      }
    ]
  },
  {
    label: "分压",
    key: "fourExpandInfo",
    value: "",
    type: "radio",
    fourExpandInfo: "",
    defaultValue: "0",
    options: [
      {
        label: "开",
        value: "1"
      },
      {
        label: "关",
        value: "0"
      }
    ]
  },
  {
    label: "fiveExpandInfo",
    key: "fiveExpandInfo",
    value: "",
    type: "radio",
    fiveExpandInfo: "",
    hide: true
  },
  {
    label: "sixExpandInfo",
    key: "sixExpandInfo",
    value: "",
    type: "radio",
    sixExpandInfo: "",
    hide: true
  },
  {
    label: "sevenExpandInfo",
    key: "sevenExpandInfo",
    value: "",
    type: "radio",
    sevenExpandInfo: "",
    hide: true
  },
  {
    label: "eightExpandInfo",
    key: "eightExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "nineExpandInfo",
    key: "nineExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  },
  {
    label: "tenExpandInfo",
    key: "tenExpandInfo",
    value: "",
    type: "radio",
    eightExpandInfo: "",
    hide: true
  }
];

//  图表展示字段
export const CHART_KEYS_Z15 = [];
